home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 January - Disc 2 / Macworld (1999-01) (Disk 2).dmg / Serious Demos / Symbolic Composer 4.2 / Environment / System / DEF / Convert / Metrics / bars-to-zones next >
Lisp/Scheme  |  1998-10-23  |  255b  |  7 lines

  1. bars-to-zones number-of-bars time-signatures
  2.  
  3. Use this to calculate a list of zones from a given list  of <number-of-bars> and a corresponding list of <time-signatures> or metres.
  4.  
  5. (setq zone (bars-to-zones '(16 8 4) '(3/4 2/4 5/4)))
  6. --> (4608 1536 1920)
  7.